package demo;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: syyyy
 * Date: 2025-07-04
 * Time: 12:23
 */
public class Bird extends Animal{
    public Bird(String name, int age) {
        super(name, age);
    }

//    public void eat(){
//        System.out.println(this.name +"正在鸟粮.....");
//    }

    public void fly(){
        System.out.println(this.name+"正在飞...");
    }
}
